package com.newer.weatherforecast.entity;

public class CurrentWeather {
	private String city;
	private String currentDate;
	private String condition;
	private String temp;
	private String humidity;
	private String icon;
	private String wind_direction;
	private String wind_speed;
	public CurrentWeather(String city, String currentDate, String condition,
			String temp, String humidity, String icon, String windDirection,
			String windSpeed) {
		super();
		this.city = city;
		this.currentDate = currentDate;
		this.condition = condition;
		this.temp = temp;
		this.humidity = humidity;
		this.icon = icon;
		wind_direction = windDirection;
		wind_speed = windSpeed;
	}
	public CurrentWeather() {
		super();
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCurrentDate() {
		return currentDate;
	}
	public void setCurrentDate(String currentDate) {
		this.currentDate = currentDate;
	}
	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	public String getTemp() {
		return temp;
	}
	public void setTemp(String temp) {
		this.temp = temp;
	}
	public String getHumidity() {
		return humidity;
	}
	public void setHumidity(String humidity) {
		this.humidity = humidity;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getWind_direction() {
		return wind_direction;
	}
	public void setWind_direction(String windDirection) {
		wind_direction = windDirection;
	}
	public String getWind_speed() {
		return wind_speed;
	}
	public void setWind_speed(String windSpeed) {
		wind_speed = windSpeed;
	}
//	public String toString() {
//		return "当前天气"+condition+",温度"+temp+",湿度"+humidity+
//		",风向"+wind_direction+",风速"+wind_speed;
//	}
	public String toString() {
		return "condition:"+condition+",temperature:"+temp+","+humidity+
		","+wind_direction+",wind_speed:"+wind_speed;
	}
}
